package com.itheima.grow.model.query;

import com.itheima.grow.model.enums.LotusDatePattern;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class QuestionQuery {

    private String qname;

    private String qlevel;

    @DateTimeFormat(pattern = LotusDatePattern.YYYY_DATE_TIME)
    private Date createTime;
}
